#ifndef PLAYLISTWRITER_H
#define PLAYLISTWRITER_H

#include<QFile>
#include<QString>

class Playlist;

class PlaylistWriter{
public:
	static void write(Playlist *playlist, QString type = "m3u", QString path = ".playlist.m3u");
private:
	static void writeM3u(Playlist *playlist, QString path);
	static void writeXml(Playlist *playlist, QString path);
	
	PlaylistWriter();
};

#endif
